using Admin2505.Application;
using Admin2505.Iinfrastructure;

var builder = WebApplication.CreateBuilder(args);

builder.Services.AddControllers();


//注册应用层服务
builder.Services.Addapplication();
// 注册基础服务层
builder.Services.AddInfrastructure(builder.Configuration);





var app = builder.Build();

app.MapControllers();

app.Run();

